import { RouteRecordRaw } from 'vue-router';

export default <RouteRecordRaw[]>[
    {
        path: '/error',
        component: () => import('@/layouts/AdminLayout.vue'),
        redirect: 'NotFound',
        children: [
            {
                path: 'forbidden',
                name: 'Forbidden',
                component: () => import(/* webpackChunkName: "router" */'@/views/error/403.vue'),
                meta: {
                    title: '403'
                }
            },
            {
                path: '500',
                name: 'InternalServerError',
                component: () => import(/* webpackChunkName: "router" */'@/views/error/404.vue'),
                meta: {
                    title: '500'
                }
            }
        ]
    }
]

